import request from "../utils/request.js"
// (url, method = 'GET', data = {}, dataType = "json", header = {})=> {}
export function getWebsiteList(){
	return request('/website/',"GET")
}

export function getFontList(data){
	return request('/font/')
}

export function getBookList(e){
	return request('/booklist/',"GET",e)
}
export function getBookListById(id){
	return request('/booklist/'+id+'/')
}
export function addWebsite(data){
	return request('/website/',"POST",data)
}

export function getWebsiteById(id){
	return request('/website/'+id+'/',"GET")
}

export function getBookListSort(e){
	return request('/booklistsort/',"GET",e)
}